package cn.hoichun.news.Domain;

import java.util.Date;

public class View {
    private int userId;
    private int articleId;
    private int interest;
    private int quality;
    private Date cdt;

    public View() {
    }

    public View(int userId, int articleId, int interest, int quality, Date cdt) {
        this.userId = userId;
        this.articleId = articleId;
        this.interest = interest;
        this.quality = quality;
        this.cdt = cdt;
    }

    @Override
    public String toString() {
        return "View{" +
                "userId=" + userId +
                ", articleId=" + articleId +
                ", interest=" + interest +
                ", quality=" + quality +
                ", cdt=" + cdt +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getInterest() {
        return interest;
    }

    public void setInterest(int interest) {
        this.interest = interest;
    }

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public Date getCdt() {
        return cdt;
    }

    public void setCdt(Date cdt) {
        this.cdt = cdt;
    }
}
